/**
 * ContactInfomationContactInfomation.java
 * 
 * Created Date: 2014年11月24日
 *				
 * Copyright (c)  Centling Technologies Co., Ltd.
 *
 * This software is the confidential and proprietary information of
 *  Centling Technologies Co., Ltd. ("Confidential Information"). You shall not
 * disclose such Confidential Information and shall use it only in accordance
 * with the terms of the license agreement you entered into with
 * Centling Technologies Co., Ltd.
 */
package com.centling.bluecollar.customer.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @author ted.ma 
 *
 */
@Entity
@Table(name = "t_proxyContactInfo") //联系人方式表
public class ProxyContactInfo {
	
	private String id;
	
	private String contactInfo;
	
	private String linkman;//联系人
	
	private String tel;//座机
	
	private String createdTime;//创建时间
	
	private String status;
	
	private ProxyClient proxyClient;
	
	
	/**
	 * @return the id
	 */
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	@Id
	@GeneratedValue(generator = "idGenerator")
	@Column(name = "id", unique = true, nullable = false, length = 50)
	public String getId() {

		return id;
	}
	
	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
	
		this.id = id;
	}

	
	/**
	 * @return the contactInfo
	 */
	@Column(length=200)
	public String getContactInfo() {
	
		return contactInfo;
	}

	
	/**
	 * @param contactInfo the contactInfo to set
	 */
	public void setContactInfo(String contactInfo) {
	
		this.contactInfo = contactInfo;
	}

	
	

	
	
	/**
	 * @return the proxyClient
	 */
	@ManyToOne
	@JoinColumn(name="proxyID")
	public ProxyClient getProxyClient() {
	
		return proxyClient;
	}

	
	/**
	 * @param proxyClient the proxyClient to set
	 */
	public void setProxyClient(ProxyClient proxyClient) {
	
		this.proxyClient = proxyClient;
	}

	/**
	 * @return the createdTime
	 */
	public String getCreatedTime() {
	
		return createdTime;
	}

	
	/**
	 * @param createdTime the createdTime to set
	 */
	public void setCreatedTime(String createdTime) {
	
		this.createdTime = createdTime;
	}

	
	/**
	 * @return the status
	 */
	public String getStatus() {
	
		return status;
	}

	
	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
	
		this.status = status;
	}



	
	/**
	 * @return the linkman
	 */
	public String getLinkman() {
	
		return linkman;
	}

	
	/**
	 * @param linkman the linkman to set
	 */
	public void setLinkman(String linkman) {
	
		this.linkman = linkman;
	}

	
	/**
	 * @return the tel
	 */
	public String getTel() {
	
		return tel;
	}

	
	/**
	 * @param tel the tel to set
	 */
	public void setTel(String tel) {
	
		this.tel = tel;
	}
	
	
	
	
}
